package com.ruoyi.yh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 姓氏管理对象 yi_blood_info
 * 
 * @author ruoyi
 * @date 2022-03-14
 */
public class YiBloodInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String bloodName;

    /** 类型 */
    @Excel(name = "类型")
    private String bloodType;

    /** 血型数量 */
    @Excel(name = "血型数量")
    private Integer bloodNo;

    /** 顺序 */
    @Excel(name = "顺序")
    private Integer bloodOrder;
    /**
     * 备注
     */
    private String remark;
    private Integer startNum;//星星数量


    public Integer getStartNum() {
        return startNum;
    }

    public void setStartNum(Integer startNum) {
        this.startNum = startNum;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBloodName(String bloodName) 
    {
        this.bloodName = bloodName;
    }

    public String getBloodName() 
    {
        return bloodName;
    }
    public void setBloodType(String bloodType) 
    {
        this.bloodType = bloodType;
    }

    public String getBloodType() 
    {
        return bloodType;
    }
    public void setBloodNo(Integer bloodNo) 
    {
        this.bloodNo = bloodNo;
    }

    public Integer getBloodNo() 
    {
        return bloodNo;
    }
    public void setBloodOrder(Integer bloodOrder) 
    {
        this.bloodOrder = bloodOrder;
    }

    public Integer getBloodOrder() 
    {
        return bloodOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bloodName", getBloodName())
            .append("bloodType", getBloodType())
            .append("bloodNo", getBloodNo())
            .append("bloodOrder", getBloodOrder())
            .toString();
    }
}
